@import "./reset.less";

.head-img {
    background: url("http://p0.meituan.net/scarlett/c8bd5cde086a9c71ea11e9488acf571b92462.jpg") center no-repeat;
    background-size: 100% auto;
    background-clip: border-box;
    padding-top: 35%; 
}

.emptybox {
    height: 44px;
}

.taglist {
    background: #fff;
    padding-left: 20px;
    padding-top: 44px; 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;

    &.topapp {
        top: 44px;
    }

    &.top74 {
        top: 62px;
    }

    &.top102 {
        top: 92px;
    }

    .tagbox {
        overflow: hidden;
        height: 44px;
    }

    .scroll {
        margin: 0;
        padding: 0;
    }

    .container {
        height: 50px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .scroll {
        list-style: none;
        white-space: nowrap;
    }

    .scroll::-webkit-scrollbar {
        display: none;
    }

    .item {
        display: inline-block;
        margin: 8px 10px 8px 0;
        position: relative;
        transition: all 0.3 0 linear;
    }

    .maxtitle {
        font-size: 13px;
        color: #111111;
        height: 28px;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 15px;
        background: #f4f4f4;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .select .maxtitle {
        color: #ff6633;
        background: #ffefea;
    }

    .select.item::after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #f63;
    }

    .select.item::before {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #f63;
    }

    &::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: #e1e1e1;
        transform: scaleY(0.5);
    }
}

.load-wrap {
    line-height: 45px;
    background-color: #fff;
    background-image: linear-gradient(0, #fff, #fff 50%, transparent 50%);
    background-position: 100% 100%;
    background-size: 100% 1px;
    background-repeat: no-repeat;
    text-align: center;
    height: 45px;
    color: #666;

    .loading-img {
        vertical-align: middle;
        width: 20px;
        height: 20px;
        display: inline-block;
        background-image: url();
        background-repeat: no-repeat;
        background-position: 0 0;
        background-size: contain;
        transform-origin: center center;
        animation-name: loading;
        animation-duration: 1.2s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    .loading-text {
        margin-left: 5px;
        display: inline-block;
        vertical-align: middle;
    }
}

.endinfo {
    font-size: 12px;
    color: #bbbbbb;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
}

@keyframes loading {
    0% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
